

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 7.00.0555 */
/* at Thu May 29 19:10:28 2014
 */
/* Compiler settings for SiraDB.idl:
    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 
    protocol : dce , ms_ext, c_ext, robust
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
/* @@MIDL_FILE_HEADING(  ) */

#pragma warning( disable: 4049 )  /* more than 64k source lines */


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __SiraDB_h__
#define __SiraDB_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __IAxSiraViews_FWD_DEFINED__
#define __IAxSiraViews_FWD_DEFINED__
typedef interface IAxSiraViews IAxSiraViews;
#endif 	/* __IAxSiraViews_FWD_DEFINED__ */


#ifndef __ISiraDocumentUtil_FWD_DEFINED__
#define __ISiraDocumentUtil_FWD_DEFINED__
typedef interface ISiraDocumentUtil ISiraDocumentUtil;
#endif 	/* __ISiraDocumentUtil_FWD_DEFINED__ */


#ifndef __AxSiraViews_FWD_DEFINED__
#define __AxSiraViews_FWD_DEFINED__

#ifdef __cplusplus
typedef class AxSiraViews AxSiraViews;
#else
typedef struct AxSiraViews AxSiraViews;
#endif /* __cplusplus */

#endif 	/* __AxSiraViews_FWD_DEFINED__ */


#ifndef ___ISiraDocumentUtilEvents_FWD_DEFINED__
#define ___ISiraDocumentUtilEvents_FWD_DEFINED__
typedef interface _ISiraDocumentUtilEvents _ISiraDocumentUtilEvents;
#endif 	/* ___ISiraDocumentUtilEvents_FWD_DEFINED__ */


#ifndef __SiraDocumentUtil_FWD_DEFINED__
#define __SiraDocumentUtil_FWD_DEFINED__

#ifdef __cplusplus
typedef class SiraDocumentUtil SiraDocumentUtil;
#else
typedef struct SiraDocumentUtil SiraDocumentUtil;
#endif /* __cplusplus */

#endif 	/* __SiraDocumentUtil_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "shobjidl.h"

#ifdef __cplusplus
extern "C"{
#endif 


#ifndef __IAxSiraViews_INTERFACE_DEFINED__
#define __IAxSiraViews_INTERFACE_DEFINED__

/* interface IAxSiraViews */
/* [unique][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IAxSiraViews;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("72E4C0F4-EBFE-49E9-AE10-527F5A9D39FF")
    IAxSiraViews : public IDispatch
    {
    public:
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE ViewHome( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetRecentDocs( 
            /* [in] */ SHORT count,
            /* [retval][out] */ BSTR *retval) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentUserID( 
            /* [retval][out] */ ULONG *pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UserCanQueryAllLog( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE SwitchView( 
            LONG viewID) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ResultCollectionQuery( 
            /* [in] */ BSTR startTime,
            /* [in] */ BSTR endTime,
            /* [in] */ BSTR keyword,
            /* [retval][out] */ BSTR *retval) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteRCFiles( 
            /* [in] */ IDispatch *dispFilesArray,
            /* [retval][out] */ VARIANT_BOOL *retval) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RCView( 
            /* [in] */ BSTR file) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetDocTypes( 
            /* [retval][out] */ BSTR *retval) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE ExportRCFiles( 
            /* [in] */ IDispatch *pDispFiles) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddHandler_CheckContentUpdate( 
            /* [in] */ IDispatch *pDispFunc) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectedCheckContent( 
            /* [in] */ IDispatch *pDispSelectedArrray) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ShowModalDlg( 
            /* [in] */ BSTR url,
            /* [in] */ BSTR title,
            /* [in] */ LONG width,
            /* [in] */ LONG height,
            /* [retval][out] */ VARIANT *retval) = 0;
        
        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_CheckContentArray( 
            /* [retval][out] */ IDispatch **pVal) = 0;
        
        virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_CheckContentArray( 
            /* [in] */ IDispatch *newVal) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE QueryDocuments( 
            /* [in] */ IDispatch *pDispParam,
            /* [retval][out] */ BSTR *retval) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE UserAction( 
            /* [in] */ IDispatch *pDispOption,
            /* [retval][out] */ VARIANT *retval) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IAxSiraViewsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IAxSiraViews * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IAxSiraViews * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IAxSiraViews * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IAxSiraViews * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IAxSiraViews * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IAxSiraViews * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IAxSiraViews * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *ViewHome )( 
            IAxSiraViews * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRecentDocs )( 
            IAxSiraViews * This,
            /* [in] */ SHORT count,
            /* [retval][out] */ BSTR *retval);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentUserID )( 
            IAxSiraViews * This,
            /* [retval][out] */ ULONG *pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserCanQueryAllLog )( 
            IAxSiraViews * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *SwitchView )( 
            IAxSiraViews * This,
            LONG viewID);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResultCollectionQuery )( 
            IAxSiraViews * This,
            /* [in] */ BSTR startTime,
            /* [in] */ BSTR endTime,
            /* [in] */ BSTR keyword,
            /* [retval][out] */ BSTR *retval);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteRCFiles )( 
            IAxSiraViews * This,
            /* [in] */ IDispatch *dispFilesArray,
            /* [retval][out] */ VARIANT_BOOL *retval);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RCView )( 
            IAxSiraViews * This,
            /* [in] */ BSTR file);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetDocTypes )( 
            IAxSiraViews * This,
            /* [retval][out] */ BSTR *retval);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *ExportRCFiles )( 
            IAxSiraViews * This,
            /* [in] */ IDispatch *pDispFiles);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddHandler_CheckContentUpdate )( 
            IAxSiraViews * This,
            /* [in] */ IDispatch *pDispFunc);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectedCheckContent )( 
            IAxSiraViews * This,
            /* [in] */ IDispatch *pDispSelectedArrray);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ShowModalDlg )( 
            IAxSiraViews * This,
            /* [in] */ BSTR url,
            /* [in] */ BSTR title,
            /* [in] */ LONG width,
            /* [in] */ LONG height,
            /* [retval][out] */ VARIANT *retval);
        
        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CheckContentArray )( 
            IAxSiraViews * This,
            /* [retval][out] */ IDispatch **pVal);
        
        /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CheckContentArray )( 
            IAxSiraViews * This,
            /* [in] */ IDispatch *newVal);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *QueryDocuments )( 
            IAxSiraViews * This,
            /* [in] */ IDispatch *pDispParam,
            /* [retval][out] */ BSTR *retval);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *UserAction )( 
            IAxSiraViews * This,
            /* [in] */ IDispatch *pDispOption,
            /* [retval][out] */ VARIANT *retval);
        
        END_INTERFACE
    } IAxSiraViewsVtbl;

    interface IAxSiraViews
    {
        CONST_VTBL struct IAxSiraViewsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IAxSiraViews_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define IAxSiraViews_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define IAxSiraViews_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define IAxSiraViews_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define IAxSiraViews_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define IAxSiraViews_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define IAxSiraViews_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define IAxSiraViews_ViewHome(This)	\
    ( (This)->lpVtbl -> ViewHome(This) ) 

#define IAxSiraViews_GetRecentDocs(This,count,retval)	\
    ( (This)->lpVtbl -> GetRecentDocs(This,count,retval) ) 

#define IAxSiraViews_get_CurrentUserID(This,pVal)	\
    ( (This)->lpVtbl -> get_CurrentUserID(This,pVal) ) 

#define IAxSiraViews_get_UserCanQueryAllLog(This,pVal)	\
    ( (This)->lpVtbl -> get_UserCanQueryAllLog(This,pVal) ) 

#define IAxSiraViews_SwitchView(This,viewID)	\
    ( (This)->lpVtbl -> SwitchView(This,viewID) ) 

#define IAxSiraViews_ResultCollectionQuery(This,startTime,endTime,keyword,retval)	\
    ( (This)->lpVtbl -> ResultCollectionQuery(This,startTime,endTime,keyword,retval) ) 

#define IAxSiraViews_DeleteRCFiles(This,dispFilesArray,retval)	\
    ( (This)->lpVtbl -> DeleteRCFiles(This,dispFilesArray,retval) ) 

#define IAxSiraViews_RCView(This,file)	\
    ( (This)->lpVtbl -> RCView(This,file) ) 

#define IAxSiraViews_GetDocTypes(This,retval)	\
    ( (This)->lpVtbl -> GetDocTypes(This,retval) ) 

#define IAxSiraViews_ExportRCFiles(This,pDispFiles)	\
    ( (This)->lpVtbl -> ExportRCFiles(This,pDispFiles) ) 

#define IAxSiraViews_AddHandler_CheckContentUpdate(This,pDispFunc)	\
    ( (This)->lpVtbl -> AddHandler_CheckContentUpdate(This,pDispFunc) ) 

#define IAxSiraViews_SelectedCheckContent(This,pDispSelectedArrray)	\
    ( (This)->lpVtbl -> SelectedCheckContent(This,pDispSelectedArrray) ) 

#define IAxSiraViews_ShowModalDlg(This,url,title,width,height,retval)	\
    ( (This)->lpVtbl -> ShowModalDlg(This,url,title,width,height,retval) ) 

#define IAxSiraViews_get_CheckContentArray(This,pVal)	\
    ( (This)->lpVtbl -> get_CheckContentArray(This,pVal) ) 

#define IAxSiraViews_put_CheckContentArray(This,newVal)	\
    ( (This)->lpVtbl -> put_CheckContentArray(This,newVal) ) 

#define IAxSiraViews_QueryDocuments(This,pDispParam,retval)	\
    ( (This)->lpVtbl -> QueryDocuments(This,pDispParam,retval) ) 

#define IAxSiraViews_UserAction(This,pDispOption,retval)	\
    ( (This)->lpVtbl -> UserAction(This,pDispOption,retval) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IAxSiraViews_INTERFACE_DEFINED__ */


#ifndef __ISiraDocumentUtil_INTERFACE_DEFINED__
#define __ISiraDocumentUtil_INTERFACE_DEFINED__

/* interface ISiraDocumentUtil */
/* [unique][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_ISiraDocumentUtil;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("AE4E61AD-EBDD-449E-BC66-3B82C090F71A")
    ISiraDocumentUtil : public IDispatch
    {
    public:
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE SelectedCheckContent( 
            /* [in] */ IDispatch *pDispArray) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenDocument( 
            /* [in] */ VARIANT pVar,
            /* [retval][out] */ VARIANT_BOOL *retval) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE ManageCheckContent( void) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE ResultCollectionGenerate( 
            /* [in] */ BSTR title,
            /* [in] */ BSTR jsonData) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE ResultCollectionPreview( 
            /* [in] */ BSTR title,
            /* [in] */ BSTR jsonData) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE ResultCollectionEdit( 
            /* [in] */ IDispatch *pDispIDArray) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE CheckContentOp( 
            /* [in] */ VARIANT varParam,
            /* [retval][out] */ VARIANT *ret) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsPadConnected( 
            /* [retval][out] */ VARIANT_BOOL *retval) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE Dictionary( 
            /* [in] */ BSTR action,
            /* [in] */ IDispatch *object,
            /* [retval][out] */ VARIANT *ret) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE Task( 
            /* [in] */ IDispatch *param,
            /* [retval][out] */ VARIANT *ret) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE Export( 
            /* [in] */ IDispatch *pDispParam,
            /* [retval][out] */ VARIANT *ret) = 0;
        
        virtual /* [id] */ HRESULT STDMETHODCALLTYPE Query( 
            /* [in] */ IDispatch *pDispParam,
            /* [retval][out] */ VARIANT *ret) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ISiraDocumentUtilVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ISiraDocumentUtil * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ISiraDocumentUtil * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ISiraDocumentUtil * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ISiraDocumentUtil * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ISiraDocumentUtil * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ISiraDocumentUtil * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ISiraDocumentUtil * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *SelectedCheckContent )( 
            ISiraDocumentUtil * This,
            /* [in] */ IDispatch *pDispArray);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenDocument )( 
            ISiraDocumentUtil * This,
            /* [in] */ VARIANT pVar,
            /* [retval][out] */ VARIANT_BOOL *retval);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *ManageCheckContent )( 
            ISiraDocumentUtil * This);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *ResultCollectionGenerate )( 
            ISiraDocumentUtil * This,
            /* [in] */ BSTR title,
            /* [in] */ BSTR jsonData);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *ResultCollectionPreview )( 
            ISiraDocumentUtil * This,
            /* [in] */ BSTR title,
            /* [in] */ BSTR jsonData);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *ResultCollectionEdit )( 
            ISiraDocumentUtil * This,
            /* [in] */ IDispatch *pDispIDArray);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *CheckContentOp )( 
            ISiraDocumentUtil * This,
            /* [in] */ VARIANT varParam,
            /* [retval][out] */ VARIANT *ret);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsPadConnected )( 
            ISiraDocumentUtil * This,
            /* [retval][out] */ VARIANT_BOOL *retval);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *Dictionary )( 
            ISiraDocumentUtil * This,
            /* [in] */ BSTR action,
            /* [in] */ IDispatch *object,
            /* [retval][out] */ VARIANT *ret);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *Task )( 
            ISiraDocumentUtil * This,
            /* [in] */ IDispatch *param,
            /* [retval][out] */ VARIANT *ret);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *Export )( 
            ISiraDocumentUtil * This,
            /* [in] */ IDispatch *pDispParam,
            /* [retval][out] */ VARIANT *ret);
        
        /* [id] */ HRESULT ( STDMETHODCALLTYPE *Query )( 
            ISiraDocumentUtil * This,
            /* [in] */ IDispatch *pDispParam,
            /* [retval][out] */ VARIANT *ret);
        
        END_INTERFACE
    } ISiraDocumentUtilVtbl;

    interface ISiraDocumentUtil
    {
        CONST_VTBL struct ISiraDocumentUtilVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define ISiraDocumentUtil_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define ISiraDocumentUtil_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define ISiraDocumentUtil_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define ISiraDocumentUtil_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define ISiraDocumentUtil_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define ISiraDocumentUtil_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define ISiraDocumentUtil_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define ISiraDocumentUtil_SelectedCheckContent(This,pDispArray)	\
    ( (This)->lpVtbl -> SelectedCheckContent(This,pDispArray) ) 

#define ISiraDocumentUtil_OpenDocument(This,pVar,retval)	\
    ( (This)->lpVtbl -> OpenDocument(This,pVar,retval) ) 

#define ISiraDocumentUtil_ManageCheckContent(This)	\
    ( (This)->lpVtbl -> ManageCheckContent(This) ) 

#define ISiraDocumentUtil_ResultCollectionGenerate(This,title,jsonData)	\
    ( (This)->lpVtbl -> ResultCollectionGenerate(This,title,jsonData) ) 

#define ISiraDocumentUtil_ResultCollectionPreview(This,title,jsonData)	\
    ( (This)->lpVtbl -> ResultCollectionPreview(This,title,jsonData) ) 

#define ISiraDocumentUtil_ResultCollectionEdit(This,pDispIDArray)	\
    ( (This)->lpVtbl -> ResultCollectionEdit(This,pDispIDArray) ) 

#define ISiraDocumentUtil_CheckContentOp(This,varParam,ret)	\
    ( (This)->lpVtbl -> CheckContentOp(This,varParam,ret) ) 

#define ISiraDocumentUtil_IsPadConnected(This,retval)	\
    ( (This)->lpVtbl -> IsPadConnected(This,retval) ) 

#define ISiraDocumentUtil_Dictionary(This,action,object,ret)	\
    ( (This)->lpVtbl -> Dictionary(This,action,object,ret) ) 

#define ISiraDocumentUtil_Task(This,param,ret)	\
    ( (This)->lpVtbl -> Task(This,param,ret) ) 

#define ISiraDocumentUtil_Export(This,pDispParam,ret)	\
    ( (This)->lpVtbl -> Export(This,pDispParam,ret) ) 

#define ISiraDocumentUtil_Query(This,pDispParam,ret)	\
    ( (This)->lpVtbl -> Query(This,pDispParam,ret) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __ISiraDocumentUtil_INTERFACE_DEFINED__ */



#ifndef __SiraDBLib_LIBRARY_DEFINED__
#define __SiraDBLib_LIBRARY_DEFINED__

/* library SiraDBLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_SiraDBLib;

EXTERN_C const CLSID CLSID_AxSiraViews;

#ifdef __cplusplus

class DECLSPEC_UUID("7A54B409-C5A1-4167-BFA4-081A011979B1")
AxSiraViews;
#endif

#ifndef ___ISiraDocumentUtilEvents_DISPINTERFACE_DEFINED__
#define ___ISiraDocumentUtilEvents_DISPINTERFACE_DEFINED__

/* dispinterface _ISiraDocumentUtilEvents */
/* [uuid] */ 


EXTERN_C const IID DIID__ISiraDocumentUtilEvents;

#if defined(__cplusplus) && !defined(CINTERFACE)

    MIDL_INTERFACE("B11925A1-59E7-48A7-B404-FC12A520664F")
    _ISiraDocumentUtilEvents : public IDispatch
    {
    };
    
#else 	/* C style interface */

    typedef struct _ISiraDocumentUtilEventsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            _ISiraDocumentUtilEvents * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            _ISiraDocumentUtilEvents * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            _ISiraDocumentUtilEvents * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            _ISiraDocumentUtilEvents * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            _ISiraDocumentUtilEvents * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            _ISiraDocumentUtilEvents * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            _ISiraDocumentUtilEvents * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        END_INTERFACE
    } _ISiraDocumentUtilEventsVtbl;

    interface _ISiraDocumentUtilEvents
    {
        CONST_VTBL struct _ISiraDocumentUtilEventsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define _ISiraDocumentUtilEvents_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define _ISiraDocumentUtilEvents_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define _ISiraDocumentUtilEvents_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define _ISiraDocumentUtilEvents_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define _ISiraDocumentUtilEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define _ISiraDocumentUtilEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define _ISiraDocumentUtilEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */


#endif 	/* ___ISiraDocumentUtilEvents_DISPINTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_SiraDocumentUtil;

#ifdef __cplusplus

class DECLSPEC_UUID("74DDBD9F-62D5-4948-973F-4CAA40C7684D")
SiraDocumentUtil;
#endif
#endif /* __SiraDBLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


